package com.example.http.req;

import com.alibaba.fastjson.JSON;
import com.example.http.req.raw.RawEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhouxl
 * @DATE 2021/8/10
 * @descriptoin
 */
@RestController
@RequestMapping("/api/urlencode")
public class UrlencodeRequestController {

    @RequestMapping("putInfo")
    public String putInfo(RawEntity rawEntity){

        return JSON.toJSONString(rawEntity);
    }

}
